package com.bishe.tax.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 登记表 registration_info
 *
 * @author ruoyi
 * @date 2019-06-23
 */
public class RegistrationInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**  */
    private Integer riId;
    /**
     * 单位名称
     */
    private String riCompany;
    /**
     * 单位地址
     */
    private String riCompanyAddress;
    /**
     * 法定代表人
     */
    private String riOwner;
    /**
     * 证件类型
     */
    private Integer riOwnerIdCardType;
    /**
     * 证件号
     */
    private String riOwnerIdCardNum;
    /**
     * 停业时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date riStopStartTime;
    /**
     * 停业期限
     */
    private Integer riStopEndTime;
    /**
     * 复业时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date riContinueTime;
    /**
     * 企业状态
     */
    private Integer riType;
    /**
     * 纳税登记id
     */
    private Integer taxReId;

    /**
     * 流程id
     */
    private String processInstanceId;

    private Integer status;

    public void setRiId(Integer riId) {
        this.riId = riId;
    }

    public Integer getRiId() {
        return riId;
    }

    public void setRiCompany(String riCompany) {
        this.riCompany = riCompany;
    }

    public String getRiCompany() {
        return riCompany;
    }

    public void setRiCompanyAddress(String riCompanyAddress) {
        this.riCompanyAddress = riCompanyAddress;
    }

    public String getRiCompanyAddress() {
        return riCompanyAddress;
    }

    public void setRiOwner(String riOwner) {
        this.riOwner = riOwner;
    }

    public String getRiOwner() {
        return riOwner;
    }

    public void setRiOwnerIdCardType(Integer riOwnerIdCardType) {
        this.riOwnerIdCardType = riOwnerIdCardType;
    }

    public Integer getRiOwnerIdCardType() {
        return riOwnerIdCardType;
    }

    public void setRiOwnerIdCardNum(String riOwnerIdCardNum) {
        this.riOwnerIdCardNum = riOwnerIdCardNum;
    }

    public String getRiOwnerIdCardNum() {
        return riOwnerIdCardNum;
    }

    public void setRiStopStartTime(Date riStopStartTime) {
        this.riStopStartTime = riStopStartTime;
    }

    public Date getRiStopStartTime() {
        return riStopStartTime;
    }

    public void setRiStopEndTime(Integer riStopEndTime) {
        this.riStopEndTime = riStopEndTime;
    }

    public Integer getRiStopEndTime() {
        return riStopEndTime;
    }

    public void setRiContinueTime(Date riContinueTime) {
        this.riContinueTime = riContinueTime;
    }

    public Date getRiContinueTime() {
        return riContinueTime;
    }

    public void setRiType(Integer riType) {
        this.riType = riType;
    }

    public Integer getRiType() {
        return riType;
    }

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("riId", getRiId())
                .append("riCompany", getRiCompany())
                .append("riCompanyAddress", getRiCompanyAddress())
                .append("riOwner", getRiOwner())
                .append("riOwnerIdCardType", getRiOwnerIdCardType())
                .append("riOwnerIdCardNum", getRiOwnerIdCardNum())
                .append("riStopStartTime", getRiStopStartTime())
                .append("riStopEndTime", getRiStopEndTime())
                .append("riContinueTime", getRiContinueTime())
                .append("riType", getRiType())
                .toString();
    }

    public String getProcessInstanceId() {
        return processInstanceId;
    }

    public void setProcessInstanceId(String processInstanceId) {
        this.processInstanceId = processInstanceId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getTaxReId() {
        return taxReId;
    }

    public void setTaxReId(Integer taxReId) {
        this.taxReId = taxReId;
    }
}
